package com.ibeetl.cms.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;



public class ShopUser extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @JsonSerialize(using= ToStringSerializer.class)
    /*@SeqID(name = ORACLE_CORE_SEQ_NAME)*/
    @AutoID
    /*@AssignID("uuid")*/
    private Integer id ;
	

    private String name ;

    @Dict(type="gender")
    private String sex ;
	

    private Integer age ;
	

    private Long balance ;
	

    private String idCard ;
	
    //头像

    private String pic ;
	

    private String phone ;
	
    //住址

    private String address ;
	

    private String emaill ;
	

    private String receivingGoodsAddr ;
	

    private String del ;
	
    public ShopUser(){
    }

    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public String getName(){
        return  name;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getSex(){
        return  sex;
    }
    public void setSex(String sex){
        this.sex = sex;
    }

    public Integer getAge(){
        return  age;
    }
    public void setAge(Integer age){
        this.age = age;
    }

    public Long getBalance(){
        return  balance;
    }
    public void setBalance(Long balance){
        this.balance = balance;
    }

    public String getIdCard(){
        return  idCard;
    }
    public void setIdCard(String idCard){
        this.idCard = idCard;
    }

    /**头像
    *@return 
    */
    public String getPic(){
        return  pic;
    }
    /**头像
    *@param  pic
    */
    public void setPic(String pic){
        this.pic = pic;
    }

    public String getPhone(){
        return  phone;
    }
    public void setPhone(String phone){
        this.phone = phone;
    }

    /**住址
    *@return 
    */
    public String getAddress(){
        return  address;
    }
    /**住址
    *@param  address
    */
    public void setAddress(String address){
        this.address = address;
    }

    public String getEmaill(){
        return  emaill;
    }
    public void setEmaill(String emaill){
        this.emaill = emaill;
    }

    public String getReceivingGoodsAddr(){
        return  receivingGoodsAddr;
    }
    public void setReceivingGoodsAddr(String receivingGoodsAddr){
        this.receivingGoodsAddr = receivingGoodsAddr;
    }

    public String getDel(){
        return  del;
    }
    public void setDel(String del){
        this.del = del;
    }


}
